﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Heavy_Metals
{
    public partial class YJQYPD_YJFJ : Form
    {
        public YJQYPD_YJFJ()
        {
            InitializeComponent();
        }

        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (this.comboBox1.SelectedIndex != -1)
            {
                this.listBox1.Items.Add("数据集a");
                this.listBox1.Items.Add("数据集b");
                this.listBox1.Items.Add("数据集c");
                this.listBox1.Items.Add("数据集d");
                this.listBox1.Items.Add("数据集e");
                this.listBox1.Items.Add("数据集f");
            }
        }

        private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (this.listBox1.SelectedIndex != -1)
            {
                this.textBox1.Text = "0.13432";
                this.textBox2.Text = "0.32224";
                this.textBox3.Text = "0.202342";
                this.textBox4.Text = "0.023344";
                this.textBox5.Text = "0.23455332";
            }
        }

        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("分级成功","操作提示");
            YJQYPD_YJFJ_JG jg = new YJQYPD_YJFJ_JG();
            jg.Show();
        }
    }
}
